<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="Bookmark" href="/favicon.ico">
	<link rel="Shortcut Icon" href="/favicon.ico" />
	<!--[if lt IE 9]>
	<script type="text/javascript" src="__UU__/lib/lib/html5.js"></script>
	<script type="text/javascript" src="__UU__/lib/lib/respond.min.js"></script>
	<script type="text/javascript" src="__UU__/lib/lib/PIE_IE678.js"></script>
	<![endif]-->
	<link href="__UU__/css/H-ui.min.css" rel="stylesheet" type="text/css" />
	<link href="__UU__/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
	<link href="__UU__/lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
	<link href="__UU__/css/style.css" rel="stylesheet" type="text/css" />
	<!--[if IE 6]>
	<script type="text/javascript" src="__UU__/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
	<script>DD_belatedPNG.fix('*');</script>
	<![endif]-->
	<title>票务管理</title>
	<style>
		tbody p{
			margin: 0;
			padding: 0;
			margin-top: 5px;
			padding-top: 5px;
			border-top: 1px dashed #CCC;
		}
	</style>
</head>
<body>
	<nav class="breadcrumb">
		<i class="Hui-iconfont">&#xe67f;</i> 
		首页 <span class="c-gray en">&gt;</span> 
		活动管理 <span class="c-gray en">&gt;</span> 
		票务管理 
		<a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
			<i class="Hui-iconfont">&#xe68f;</i>
		</a>
	</nav>
	<div class="pd-20">
	<form action="__APP__/Activity/piao" method="post">
	    <input type="hidden" name="type" id="typehidden" />
		<div class="text-c">
			活动名称：
			<input type="text" name="name" style="width: 120px" id="" class="input-text" value="{$_REQUEST['name']}"/>
			订票人：
			<input type="text" name="username" style="width: 120px" id="" class="input-text" value="{$_REQUEST['username']}"/>
			活动时间：
			<input type="text" name="" style="width: 120px" id="" class="input-text" onfocus="WdatePicker({maxDate:'%y-%M-%d',minDate:'1990-01-01'})" />
			状态：
			<span class="select-box inline">
				<select name="is_use" id="" class="select">
					<option value="">全部</option>
					<option value="1" <if condition="$_REQUEST['is_use'] eq '1'">selected="selected"</if>>已验票</option>
					<option value="0" <if condition="$_REQUEST['is_use'] eq '0'">selected="selected"</if>>未验票</option>
					<option value="3" <if condition="$_REQUEST['is_use'] eq '3'">selected="selected"</if>>已退款</option>
					<option value="2" <if condition="$_REQUEST['is_use'] eq '2'">selected="selected"</if>>已申请退款</option>
					<option value="4" <if condition="$_REQUEST['is_use'] eq '4'">selected="selected"</if>>已过期</option>
				</select>
			</span>
			验票时间：
			<input type="text" name="check_time" id="logmin" value="{$_REQUEST['check_time']}" class="input-text Wdate" onfocus="WdatePicker({maxDate:'%y-%M-%d'})" style="width: 120px;" />
			结算时间：
			<input type="text" name="over_time" id="logmax" value="{$_REQUEST['over_time']}" class="input-text Wdate" onfocus="WdatePicker({maxDate:'%y-%M-%d'})" style="width: 120px;" />
			<button name="" id="" class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
		</div>
		
		<div class="cl pd-5 bg-1 bk-gray mt-20"> 
			<span class="r">
				<a class="btn btn-primary radius" >
					<i class="Hui-iconfont">&#xe640;</i> 导出
				</a>
			</span>
		</div>
</form>
		<div class="mt-20">
			<table class="table table-border table-bordered table-hover table-bg table-sort">
				<thead>
					<tr class="text-c">
						<th width="50px">序号</th>
						<th>订单/票号</th>
						<th>订票人</th>
						<th>活动名称</th>
						<th>场次时间</th>
						<th>金额</th>
						<th>状态</th>
						<th>是否可退</th>
						<th>结算时间</th>
					</tr>
				</thead>
				<tbody>
				<volist name="list" id="vo">
					<tr>
						<td>{$vo.id}</td>
						<td>
							{$vo.order_no}
							<if condition="$vo.is_use gt '0'">
							<p>{$vo.ticket_no}</p>
							</if>
						</td>
						<td>{$vo.username}</td>
						<td><a href="javacript:void(0)" class="table_aLink" onclick="lookyixia('{$vo.aid}')">{$vo.name}</a></td>
						<td>{$vo.ticket_date}</td>
						<td>{$vo.true_price_name}</td>
						<td>{$vo.is_use_name}</td></case>
						<td>{$vo.is_quit_name}</td>
						<td  width="150px">{$vo.over_time_name}</td>
					</tr>
				</volist>
				</tbody>
			</table>
		</div>
		
	</div>
<script type="text/javascript" src="__UU__/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__UU__/lib/layer/2.1/layer.js"></script>
<script type="text/javascript" src="__UU__/js/H-ui.js"></script>
<script type="text/javascript" src="__UU__/js/H-ui.admin.js"></script>
<script type="text/javascript" src="__UU__/lib/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="__UU__/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="__ADMIN__/js/function.js?w=124444"></script>
<script>
	$(function (){
		$('.table-sort').dataTable({
			"aaSorting": [[ 0, "desc" ]],
			"aoColumnDefs": [
			  {"orderable":false,"aTargets":[0]}
			],
			oLanguage:{
				sSearch:"搜索"
			}
		});
	});
	$(".radius").click(function(){
		$("#typehidden").val(1);
		$("form").submit();
	})
</script>
</body>
</html>
